#ifndef SHOW3DIMAGE_H
#define SHOW3DIMAGE_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGraphicsView>
#include <QtGui/QLabel>
#include <QtGui/QSlider>
#include <QtGui/QWidget>
#include <QtGui/QDialog>
#include <QString>
#include <QPainter>

class FileLoader;

class Show3DImage : public QDialog
{
    Q_OBJECT

public:
    
    QLabel* XImage;
    
    QLabel* YImage;
    
    QLabel* ZImage;

    QSlider *ySlider;
    QLabel *xLabel;
    QSlider *xSlider;
    QLabel *zLabel;
    QSlider *zSlider;
    QLabel *yLabel;
    FileLoader *fl;
    

    Show3DImage::Show3DImage(QWidget * parent, int maxX, int maxY, int maxZ);

private:
    void setupUi(QWidget *mainField, int maxX, int maxY, int maxZ);

private slots:
    void updateX(int val);
    void updateY(int val);
    void updateZ(int val);

};

#endif // SHOW3DIMAGE_H
